package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;

import java.math.BigDecimal;

/**
 * 火化炉燃油记录表Entity
 * 
 * @author generator
 * @date 2020-08-23 18:11
 */
@MyTable(value = "CremationFurnaceConsumeEntity", name = "cremation_furnace_consume", comment = "火化炉燃油记录表")
public class CremationFurnaceConsumeEntity extends BaseEntity {
    /**
     * 业务编码
     */
    @MyColumn(value = "businessCode", name = "business_code", comment = "业务编码", required = true)
    private String businessCode;

    /**
     * 火化外键
     */
    @MyColumn(value = "cremationId", name = "cremation_id", comment = "火化外键")
    private Integer cremationId;

    /**
     * 火化炉面分组外键
     */
    @MyColumn(value = "furnaceGroupId", name = "furnace_group_id", comment = "火化炉面分组外键")
    private Integer furnaceGroupId;

    /**
     * 火化炉面外键
     */
    @MyColumn(value = "furnaceId", name = "furnace_id", comment = "火化炉面外键")
    private Integer furnaceId;

    /**
     * 火化前油表数
     */
    @MyColumn(value = "oldNumber", name = "old_number", comment = "火化前油表数", required = true)
    private BigDecimal oldNumber;

    /**
     * 本次燃油数量
     */
    @MyColumn(value = "consumeNumber", name = "consume_number", comment = "本次燃油数量", required = true)
    private BigDecimal consumeNumber;

    /**
     * 火化后油表数
     */
    @MyColumn(value = "newNumber", name = "new_number", comment = "火化后油表数", required = true)
    private BigDecimal newNumber;


    public String getBusinessCode() {
        return businessCode;
    }

    public CremationFurnaceConsumeEntity setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
        return this;
    }

    public Integer getCremationId() {
        return cremationId;
    }

    public CremationFurnaceConsumeEntity setCremationId(Integer cremationId) {
        this.cremationId = cremationId;
        return this;
    }

    public Integer getFurnaceGroupId() {
        return furnaceGroupId;
    }

    public CremationFurnaceConsumeEntity setFurnaceGroupId(Integer furnaceGroupId) {
        this.furnaceGroupId = furnaceGroupId;
        return this;
    }

    public Integer getFurnaceId() {
        return furnaceId;
    }

    public CremationFurnaceConsumeEntity setFurnaceId(Integer furnaceId) {
        this.furnaceId = furnaceId;
        return this;
    }

    public BigDecimal getOldNumber() {
        return oldNumber;
    }

    public CremationFurnaceConsumeEntity setOldNumber(BigDecimal oldNumber) {
        this.oldNumber = oldNumber;
        return this;
    }

    public BigDecimal getConsumeNumber() {
        return consumeNumber;
    }

    public CremationFurnaceConsumeEntity setConsumeNumber(BigDecimal consumeNumber) {
        this.consumeNumber = consumeNumber;
        return this;
    }

    public BigDecimal getNewNumber() {
        return newNumber;
    }

    public CremationFurnaceConsumeEntity setNewNumber(BigDecimal newNumber) {
        this.newNumber = newNumber;
        return this;
    }
}